package com.yuxinmuyu.sports_management.service;

import com.baomidou.mybatisplus.extension.plugins.pagination.Page;
import com.yuxinmuyu.sports_management.bean.request.*;
import com.yuxinmuyu.sports_management.bean.entiy.SportsApply;
import com.yuxinmuyu.sports_management.bean.request.GetSportsApplyRequest;
import com.yuxinmuyu.sports_management.bean.request.GetSportsListRequest;
import com.yuxinmuyu.sports_management.bean.request.InsertSportsApplyRequest;
import com.yuxinmuyu.sports_management.bean.response.SportsApplyResponse;
import com.yuxinmuyu.sports_management.bean.response.SportsProjectResponse;
import org.springframework.transaction.annotation.Transactional;

import java.util.List;

public interface SportsApplyService {

    Page<SportsApplyResponse> getSportsApply(GetSportsApplyRequest request);

    List<SportsProjectResponse> getselectList(GetSportsListRequest request);

    void insertSportsApply(InsertSportsApplyRequest request);

    Page<SportsApplyResponse> getSportsApply1(GetSportsApplyRequest request);

    void change(SportsApply request);

    void deleteSportsApply(GetSportsApplyinfoRequest request);

    void updateSportsApply(UpdateSportsApplyInfoRequest request);
}
